package com.letoken.platform.repo.ecommerce.vo;


import com.letoken.platform.pub.annotation.sms.SpecifyMatch;
import com.letoken.platform.repo.ecommerce.po.EcommerceOrderDetail;
import com.letoken.platform.repo.ecommerce.po.EcommerceUserOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.catalina.LifecycleState;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "新商家订单记录")
public class ShopOrderRes implements Serializable {


    private Integer mallUserId;

    private Integer userId;


    @ApiModelProperty("订单ID")
    private Integer id;


    @ApiModelProperty("订单号")
    private String fatherNo;


    @ApiModelProperty("状态")
    private Integer status;

//
//    @ApiModelProperty("状态名称")
//    private String statusName;

//    @ApiModelProperty("商品主图")
//    private String pic;
//
//    @ApiModelProperty("商品标题")
//    private String title;
//
//
//    @ApiModelProperty("商品规格")
//    private String productAttr;
//
//
//    @ApiModelProperty("订单数量")
//    private Integer quantity;
//
//
//    @ApiModelProperty("订单总额 实际支付总金额 不包括运费")
//    private BigDecimal totalAmount;
//
//    @ApiModelProperty("单价")
//    private BigDecimal realPrice;


    @ApiModelProperty(value = "运费金额")
    private BigDecimal shipping;

    @ApiModelProperty(value = "支付总额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "运费金额")
    private BigDecimal shippingCap;

    @ApiModelProperty(value = "支付总额")
    private BigDecimal payAmountCap;

//    @ApiModelProperty("rmb价格")
//    private BigDecimal rmbPrice;
//
//    private BigDecimal rmbRate;


    List<ShopOrderSubRes> subRes;



}
